package com.lovo.order.service.impl;

import com.lovo.common.bean.Product;
import com.lovo.order.service.ProductService;
import io.swagger.v3.oas.annotations.servers.Server;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

//@Service
public class ProductServiceCallback implements ProductService {
    @Override
    public Object getByIds(List<Integer> ids) {
        System.out.println("被限流了");
        List list = new ArrayList();
        return list;
    }

    @Override
    public Object getById(Integer id) {
        return null;
    }

    @Override
    public Object update(Integer id, Product product) {
        return null;
    }
}
